﻿using System.Collections.Generic;
using Microsoft.Phone.Controls;

namespace Spotted.Core
{
    public interface IAppService
    {
        /// <summary>
        /// Returns the current Application Frame hosting the application
        /// </summary>
        PhoneApplicationFrame RootFrame { get; }

        /// <summary>
        /// Shows the Progress Indicator associated with the SystemTray
        /// </summary>
        /// <param name="message">Optional message which can be displayed with the indicator</param>
        void ShowProgressIndicator(string message = "Waiting...");

        /// <summary>
        /// Hide the Progress Indicator associated with the SystemTray
        /// </summary>
        void HideProgressIndicator();

        /// <summary>
        /// Get the standard list of Spot Intentions
        /// </summary>
        /// <returns></returns>
        IList<SpotIntention> GetSpotIntentions();
    }
}
